package com.xd.core.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xd.core.system.entity.Dictionary;

import java.util.List;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author SJ
 * @since 2023-03-24
 */
public interface IDictionaryService extends IService<Dictionary> {

    List<Dictionary> listByType(String type);

    List<Dictionary> listByTypeCompany(String type);

    List<Dictionary> listByTypes(List<String> types);

    List<Dictionary> listByTypeAndCodes(List<String> codes, String type);

    void flushed();
}
